﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ControlVisualizadorReportes.ascx.cs" Inherits="SchoolManagement.Forms.Controls.ControlVisualizadorReportes" %>
<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>


<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<cr:crystalreportsource id="DataSourceReportesCrystal" runat="server">
    <Report FileName="C:\EpSchool\Codigo\Codigo\SchoolManagement\bin\Forms\Reports\CrystalReportPla.rpt">
    </Report>
</cr:crystalreportsource>
<div style="width: 100%">
    <cr:crystalreportviewer id="VisualizadorReportesCristal" runat="server" autodatabind="True"
        height="1106px" reportsourceid="DataSourceReportesCrystal" width="100%" reuseparametervaluesonrefresh="True"
        hascrystallogo="False" hasexportbutton="False" hasprintbutton="False" showallpageids="True"
        hasdrillupbutton="False" hastogglegrouptreebutton="False" displaytoolbar="False" />

</div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:EPSchoolConnectionString %>" 
    SelectCommand="GetPlanillaByIdGradoAsignatura" 
    SelectCommandType="StoredProcedure">
    <SelectParameters>
        <asp:SessionParameter Name="IdGrado" SessionField="IdGradoSession" 
            Type="Int32" />
        <asp:SessionParameter Name="IdAsignatura" SessionField="IdAsignaturaSession" 
            Type="Int32" />
    </SelectParameters>
</asp:SqlDataSource>
